package rmi.graph;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

public interface SiteItfGraph extends Remote {
	// Envoie le message aux voisins
	public void sendToNeighbors(int idEmetteur, final int idMessage, final byte[] message) throws RemoteException ;
	
	public int getId() throws RemoteException;
	
	public void setId(int id) throws RemoteException;
	
	public ArrayList<SiteItfGraph> getNeighbors() throws RemoteException;
	
	public boolean addNeighbors(SiteItfGraph voisin) throws RemoteException;
}
